/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Decorator1;

/**
 *
 * @author Marcel
 */
public class Whip extends CoffeeDecorator {
    public Whip(Coffee decoratedCoffee) {
        super(decoratedCoffee);
    }
 
    public double getCost() {
        return super.getCost() + 0.7;
    }
 
    public String getIngredients() {
        return super.getIngredients() + ingredientSeparator + "Whip";
    }
}
